package com.guanglan.dht_vampire.node;

import java.math.BigInteger;

/**
 * @author 光蓝Comet
 * @description 一句话说明这个类的作用
 * @date 2018/8/21
 */
public class NodeInfo {

    private BigInteger nid;

    private String ip;

    private Integer port;

    public NodeInfo() {

    }

    public NodeInfo(BigInteger nid, String ip, Integer port) {
        this.nid = nid;
        this.ip = ip;
        this.port = port;
    }

    public BigInteger getNid() {
        return nid;
    }

    public void setNid(BigInteger nid) {
        this.nid = nid;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
